﻿@using Webdiyer.WebControls.Mvc
@using HuntingFishGame.ManageDomain.Model.GoldShopOrder;
@model PagedList<GoldShopOrderModel>
@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<div class="head">
    <div class="title">
        订单列表
    </div>
</div>
<div class="orderlist m10 myorder">
    <div class="tab_cont">
        <div class="list">
            <table >
                <tr>
                    <th>id</th>
                    <th>订单号</th>
                    <th>用户账号</th>
                    <th>商品ID</th>
                    <th>支付金额</th>
                    <th>购买金币</th>
                    <th>赠送金币</th>
                    <th>支付方式</th>
                    <th>支付状态</th>
                    <th>创建时间</th>
                    <th>支付时间</th>
                    <th>支付账号</th>
                    <th>支付订单号</th>
                    <th>OPENID</th>
                </tr>
                @foreach (var item in Model)
                {
                    <tr>
                        <td >@item.id</td>
                        <td >@item.orderid</td>
                        <td >@item.userid</td>
                        <td >@item.gid</td>
                        <td >@item.price</td>
                        <td >@item.gold</td>
                        <td >@item.gift_gold</td>
                        <td >@item.payment_type</td>
                        <td >@item.payment_status</td>
                        <td >@item.create_time</td>
                        <td >@item.payment_time</td>
                        <td >@item.payment_number</td>
                        <td >@item.payment_orderid</td>
                        <td >@item.openid</td>
                    </tr>
                }
            </table>
            <div class="total pt10">
                <div class="fl">共<em>@Model.TotalPageCount</em>页<em>@Model.TotalItemCount</em>条记录，当前为第<em>@Model.CurrentPageIndex</em>页</div>
                @Html.Pager(Model, new PagerOptions { PageIndexParameterName = "pageIndex", ShowPageIndexBox = true, PageIndexBoxType = PageIndexBoxType.TextBox, CssClass = "mvcPager" }, new MvcAjaxOptions { UpdateTargetId = "searchForm" })
            </div>
        </div>
    </div>
</div>